package com.neusoft.elmboot.service;

import java.util.List;

import com.neusoft.elmboot.po.OrderDetailet;
import com.neusoft.elmboot.po.Orders;

public interface OrdersService {

	int createOrders(Orders orders, List<OrderDetailet> orderItems); // 修改方法签名
	Orders getOrdersById(Integer orderId) throws Exception;
	public List<Orders> listOrdersByUserId(String userId);

	boolean updateOrderState(Long orderId, Integer orderState, Integer usedScore);
}
